package main

import (
	"common/config"
	"flag"
	"fmt"
)

// 生成一个指针 *configFile = "application.yml"
var configFile = flag.String("config", "application.yml", "config file")

func main() {
	//1.加载配置
	flag.Parse()
	config.InitConfig(*configFile)
	fmt.Println(config.Conf)
	fmt.Println(config.Conf.Age)

	//2.启动监控
	//3.启动grpc
}
